package com.taofuxn.admin.api.model.request;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author wong
 * @Date: 2020-05-07
 * @Version: 1.0
 */
@Data
@Valid
public class LoginRequest implements Serializable {
    private static final long serialVersionUID = 5234776017072617654L;
    @NotBlank(message = "行号不能为空")
    public String loginName;
    @NotBlank(message = "密码不能为空")
    private String password;

    private String nickName;
    private String remark;
    private String avatar;

}
